import request from "@/utils/request.js";
/**
 * 微信登录
 * 
 */
export function wechatLogin(code){
	return request.get('/wechatLogin',{
		code:code
	})
}


/**
 * 发送短信验证
 */
export function smsSendCode(phone){
	return request.get('/sendCodeNew',{
		phone:phone
	})
}
/**
 * @param {Object} phone
 */
export function bindPhone(phone,code){
	return request.get('/bindphone',{
		phone:phone,
		code:code
	})
}

